;458 type hellenistic infantry koinon phalangitai dictionary hellenistic_infantry_koinon_phalangitai ; Koinon Hellenon Phalangitai category infantry class spearmen voice_type General_1 soldier hellenistic_infantry_pezhetairoi_koinonphalangitai, 60, 0, 1.4 officer ebofficer_hellenic_officer officer ebofficer_hellenic_standardbearer mount_effect elephant -1 attributes sea_faring, hide_forest formation 1.1, 1, 2.2, 2, 6, square, phalanx stat_health 1, 1 stat_pri 17, 0, no, 0, 0, melee, siege, piercing, spear, 0 ,0.17 stat_pri_attr long_pike, light_spear stat_sec 9, 4, no, 0, 0, melee, simple, slashing, sword, 0 ,0.13 stat_sec_attr no stat_pri_armour 11, 6, 5, leather stat_sec_armour 0, 0, flesh stat_heat 3 stat_ground 0, 0, -5, -3 stat_mental 11, disciplined, highly_trained stat_charge_dist 30 stat_fire_delay 0 stat_food 60, 300 stat_cost 1, 2129, 532, 50, 80, 2129 ownership greek_cities
;Reform 2 ; ; Placed by script at conquest or globally per faction's current regions upon new reform. ; reforms2_feeder: never used ; cataphract: Pahlavan cataphract ; sweboz1: starting era ; sweboz2: reform era ; carthage2: late era ; wgreek1: starting era (proposed) ; wgreek2: late era (proposed) ; egreek1: starting era (proposed) ; egreek2: late era (proposed) ; building hinterland_reforms2 { levels reforms2_feeder cataphract sweboz1 sweboz2 carthage1 wgreek1 wgreek2 egreek1 egreek2 { reforms2_feeder requires factions { all, } and hidden_resource not_here { capability { } construction 1 cost 0 settlement_min town upgrades { cataphract sweboz1 sweboz2 carthage1 wgreek1 wgreek2 egreek1 egreek2 } } cataphract requires factions { all, } and hidden_resource not_here { capability { weapon_siege 1 requires factions { romans_julii, } } construction 8 cost 9600 settlement_min town upgrades { } } sweboz1 requires factions { all, } and hidden_resource not_here { capability { weapon_siege bonus -1 requires factions { germans, } } construction 1 cost 0 settlement_min town upgrades { } } sweboz2 requires factions { all, } and hidden_resource not_here { capability { weapon_siege 1 requires factions { germans, } } construction 1 cost 0 settlement_min town upgrades { } } carthage1 requires factions { all, } and hidden_resource not_here { capability { weapon_siege 1 requires factions { egypt, } } construction 1 cost 0 settlement_min town upgrades { } } wgreek1 requires factions { all, } and hidden_resource not_here { capability { weapon_siege 1 requires factions { greek_cities, } } construction 1 cost 0 settlement_min town upgrades { } } wgreek2 requires factions { all, } and hidden_resource not_here { capability { } construction 1 cost 0 settlement_min town upgrades { } } egreek1 requires factions { all, } and hidden_resource not_here { capability { } construction 1 cost 0 settlement_min town upgrades { } } egreek2 requires factions { all, } and hidden_resource not_here { capability { } construction 1 cost 0 settlement_min town upgrades { } } } plugins { }
army_barracks_I1 requires factions { thrace, greek_cities, } and building_present_min_level government gov2 and not hidden_resource not_here { capability { weapon_siege bonus -1 requires factions { greek_cities, } recruit "hellenistic infantry agrianaipelekephoroi" 0 requires factions { thrace, } and hidden_resource SW and hidden_resource C and hidden_resource n1 and hidden_resource n2 and hidden_resource y4 and hidden_resource n8 (ect.)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; 2i: Reforme koinon hellenon (sous-mod) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; declare_counter Phakh_Reforme declare_counter PhakhReformeAdvisor declare_counter Caserne declare_counter GeneralCounter ; Count Latyfundium monitor_event SettlementTurnStart SettlementName Sparte and I_CompareCounter Phakh_Reforme = 0 and FactionType greek_cities and SettlementBuildingExists = royal_barracks_I1 inc_counter Caserne 1 end_monitor monitor_event SettlementTurnStart SettlementName Korinthos and I_CompareCounter Phakh_Reforme = 0 and FactionType greek_cities and SettlementBuildingExists = royal_barracks_I1 inc_counter Caserne 1 end_monitor monitor_event SettlementTurnStart SettlementName Korinthos and I_CompareCounter Phakh_Reforme = 0 and FactionType greek_cities and SettlementBuildingExists = army_barracks_I1 inc_counter Caserne 1 end_monitor monitor_event FactionTurnEnd FactionType greek_cities and I_CompareCounter Phakh_Reforme = 0 and I_CompareCounter Caserne > 1 and I_TurnNumber >= 184 and I_CompareCounter GeneralCounter = 1 set_counter Phakh_Reforme 1 set_counter PhakhReformeAdvisor 1 terminate_monitor end_monitor ;Check for Philippoemen wanabe monitor_event CharacterTurnEnd FactionType greek_cities and I_TurnNumber >= 184 and Trait GoodInfantryGeneral > 1 set_counter GeneralCounter 1 end_monitor ;Reset Caserne Counter monitor_event FactionTurnEnd FactionType greek_cities set_counter Caserne 0 end_monitor ;batiments crees monitor_event SettlementTurnStart SettlementName Sparte and I_CompareCounter Phakh_Reforme = 1 and not SettlementBuildingExists = wgreek1 and I_SettlementOwner Sparte = greek_cities console_command create_building Sparte "wgreek1" end_monitor monitor_event SettlementTurnStart SettlementName Korinthos and I_CompareCounter Phakh_Reforme = 1 and not SettlementBuildingExists = wgreek1 and I_SettlementOwner Korinthos = greek_cities console_command create_building Korinthos "wgreek1" end_monitor monitor_event SettlementTurnStart SettlementName Athenai and I_CompareCounter Phakh_Reforme = 1 and not SettlementBuildingExists = wgreek1 and I_SettlementOwner Athenai = greek_cities console_command create_building Athenai "wgreek1" end_monitor monitor_event SettlementTurnStart SettlementName Thermon and I_CompareCounter Phakh_Reforme = 1 and not SettlementBuildingExists = wgreek1 and I_SettlementOwner Thermon = greek_cities console_command create_building Thermon "wgreek1" end_monitor monitor_event SettlementTurnStart SettlementName Demetrias and I_CompareCounter Phakh_Reforme = 1 and not SettlementBuildingExists = wgreek1 and I_SettlementOwner Demetrias = greek_cities console_command create_building Demetrias "wgreek1" end_monitor monitor_event SettlementTurnStart SettlementName Ambrakia and I_CompareCounter Phakh_Reforme = 1 and not SettlementBuildingExists = wgreek1 and I_SettlementOwner Ambrakia = greek_cities console_command create_building Ambrakia "wgreek1" end_monitor monitor_event SettlementTurnStart SettlementName Pella and I_CompareCounter Phakh_Reforme = 1 and not SettlementBuildingExists = wgreek1 and I_SettlementOwner Pella = greek_cities console_command create_building Pella "wgreek1" end_monitor monitor_event SettlementTurnStart SettlementName Mytilene and I_CompareCounter Phakh_Reforme = 1 and not SettlementBuildingExists = wgreek1 and I_SettlementOwner Mytilene = greek_cities console_command create_building Mytilene "wgreek1" end_monitor monitor_event SettlementTurnStart SettlementName Pergamon and I_CompareCounter Phakh_Reforme = 1 and not SettlementBuildingExists = wgreek1 and I_SettlementOwner Pergamon = greek_cities console_command create_building Pergamon "wgreek1" end_monitor monitor_event SettlementTurnStart SettlementName Antiocheia and I_CompareCounter Phakh_Reforme = 1 and not SettlementBuildingExists = wgreek1 and I_SettlementOwner Antiocheia = greek_cities console_command create_building Antiocheia "wgreek1" end_monitor monitor_event SettlementTurnStart SettlementName Alexandreia and I_CompareCounter Phakh_Reforme = 1 and not SettlementBuildingExists = wgreek1 and I_SettlementOwner Alexandreia = greek_cities console_command create_building Alexandreia "wgreek1" end_monitor monitor_event SettlementTurnStart SettlementName Kyrene and I_CompareCounter Phakh_Reforme = 1 and not SettlementBuildingExists = wgreek1 and I_SettlementOwner Kyrene = greek_cities console_command create_building Kyrene "wgreek1" end_monitor monitor_event SettlementTurnStart SettlementName Taras and I_CompareCounter Phakh_Reforme = 1 and not SettlementBuildingExists = wgreek1 and I_SettlementOwner Taras = greek_cities console_command create_building Taras "wgreek1" end_monitor ;conseiller monitor_event CharacterTurnStart FactionType greek_cities and FactionIsLocal and I_CompareCounter PhakhReformeAdvisor = 1 set_counter PhakhReformeAdvisor 0 advance_advice_thread Phakh_Reforms_Thread terminate_monitor end_monitor
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;2j : Sous-mod : reforme hysteroi pezhetairoi : macedoine ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; declare_counter Hyst_Reforme declare_counter HystReformeAdvisor declare_counter RomaCounter declare_counter CartCounter ; Check Conditions monitor_event FactionTurnEnd FactionType macedon and I_CompareCounter Hyst_Reforme = 0 ; Unconditional Player Reforms after 210BC if I_TurnNumber >= 2 and I_LocalFaction macedon set_counter Hyst_Reforme 1 set_counter HystReformeAdvisor 1 terminate_monitor end_if ; Unconditional AI Reforms after 230BC if I_TurnNumber >= 2 and not I_LocalFaction macedon set_counter Hyst_Reforme 1 terminate_monitor end_if ; Conditional Reforms if I_NumberOfSettlements seleucid >= 25 inc_counter RomaCounter 1 end_if if I_NumberOfSettlements seleucid >= 50 inc_counter RomaCounter 1 end_if if I_SettlementOwner Epidamnos = seleucid inc_counter RomaCounter 1 end_if if I_SettlementOwner Dalminion = seleucid inc_counter RomaCounter 1 end_if ;Check if Reforms Conditions are met if I_CompareCounter RomaCounter >= 2 and I_CompareCounter Romanii_Reform > 0 set_counter Hyst_Reforme 1 set_counter HystReformeAdvisor 1 terminate_monitor end_if ;Reset Counters set_counter RomaCounter 0 end_monitor ; Check Conditions monitor_event FactionTurnEnd FactionType macedon and I_CompareCounter Hyst_Reforme = 0 and I_CompareCounter Carthage_Reforms > 0 ; Conditional Reforms if I_NumberOfSettlements egypt >= 30 inc_counter CartCounter 1 end_if if I_NumberOfSettlements egypt >= 60 inc_counter CartCounter 1 end_if if I_SettlementOwner Taras = egypt inc_counter CartCounter 1 end_if if I_SettlementOwner Syrakousai = egypt inc_counter CartCounter 1 end_if if I_SettlementOwner Roma = egypt inc_counter CartCounter 1 end_if ;Check if Reforms Conditions are met if I_CompareCounter CartCounter >= 3 set_counter Hyst_Reforme 1 set_counter HystReformeAdvisor 1 terminate_monitor end_if ;Reset Counters set_counter CartCounter 0 end_monitor ;batiments crees macedoine monitor_event SettlementTurnStart SettlementName Rhegion and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Rhegion = macedon console_command create_building Rhegion "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Korinthos and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Korinthos = macedon console_command create_building Korinthos "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Athenai and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Athenai = macedon console_command create_building Athenai "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Thermon and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Thermon = macedon console_command create_building Thermon "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Demetrias and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Demetrias = macedon console_command create_building Demetrias "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Ambrakia and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Ambrakia = macedon console_command create_building Ambrakia "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Pella and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Pella = macedon console_command create_building Pella "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Mytilene and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Mytilene = macedon console_command create_building Mytilene "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Pergamon and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Pergamon = macedon console_command create_building Pergamon "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Antiocheia and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Antiocheia = macedon console_command create_building Antiocheia "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Alexandreia and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Alexandreia = macedon console_command create_building Alexandreia "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Kyrene and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Kyrene = macedon console_command create_building Kyrene "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Taras and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Taras = macedon console_command create_building Taras "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Kydonia and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Kydonia = macedon console_command create_building Kydonia "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Rhodos and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Rhodos = macedon console_command create_building Rhodos "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Halikarnassos and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Halikarnassos = macedon console_command create_building Halikarnassos "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Sardis and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Sardis = macedon console_command create_building Sardis "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Nikaia and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Nikaia = macedon console_command create_building Nikaia "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Byzantion and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Byzantion = macedon console_command create_building Byzantion "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Tylis and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Tylis = macedon console_command create_building Tylis "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Chersonesos and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Chersonesos = macedon console_command create_building Chersonesos "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Pantikapaion and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Pantikapaion = macedon console_command create_building Pantikapaion "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Salamis and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Salamis = macedon console_command create_building Salamis "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Memphis and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Memphis = macedon console_command create_building Memphis "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Seleukeia and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Seleukeia = macedon console_command create_building Seleukeia "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Charax and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Charax = macedon console_command create_building Charax "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Baktra and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Baktra = macedon console_command create_building Baktra "wgreek2" end_monitor monitor_event SettlementTurnStart SettlementName Babylon and I_CompareCounter Hyst_Reforme = 1 and not SettlementBuildingExists = wgreek2 and I_SettlementOwner Babylon = macedon console_command create_building Babylon "wgreek2" end_monitor ;conseiller monitor_event CharacterTurnStart FactionType macedon and FactionIsLocal and I_CompareCounter HystReformeAdvisor = 1 set_counter HystReformeAdvisor 0 advance_advice_thread Hyst_Reforms_Thread terminate_monitor end_monitor